package com.enjoyor.health.HGPT.core.service;

import com.enjoyor.health.HGPT.core.dto.ReservationConfigNumDto;
import com.enjoyor.health.HGPT.core.entity.ReservationConfiguration;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author enjoyor
 * @since 2023-10-31
 */
public interface IReservationConfigurationService extends IService<ReservationConfiguration> {

    List<ReservationConfiguration> getByType(String packageType);

    List<ReservationConfiguration> getByWeekDay(String weekDay);

    int deleteByWeekDay(Integer weekDay, Integer packageType);

    List<ReservationConfigNumDto> getSumByPackageType(String packageType);

    List<ReservationConfigNumDto> getPeriodSumByPackageType(Integer weekDay, String packageType);

}
